home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Tool Chest / Development Tools & Languages / Macintosh Common Lisp Related / AppleScript-from-lisp / readme < prev   
Encoding:
Text File  |  1994-09-13  |  2.3 KB  |  65 lines  |  [TEXT/ttxt]

  1. Faxphone: 4089748414
  2. Voicephone: 4089744538
  3. X-Message-Template: 
  4. Date: Tue, 13 Sep 1994 11:26:22 -0800
  5. To: info-mcl-digest@cambridge.apple.com
  6. From: bonura@taurus.apple.com (Tom Bonura)
  7. Subject:  new version of applescript-from-lisp
  8.  
  9. I've uploaded a new version of applescript-from-lisp, a set of tools to
  10. create and execute applescripts from within mcl. There are several changes
  11. from the first version of this code.
  12.  
  13. 1. Everything is now in the CL-USER package.
  14. 2. Only one scripting component is opened unless you specify otherwise.
  15. This is more effecient than opening a component for every compiled script
  16. which is unnecessary unless you are running multi threaded. See comment at
  17. the beginning of the file applescript.lisp
  18. 3. I am more careful about disposing of heap allocated things so memory
  19. behavior should be considerably more robust.
  20. 4. Now, when a script is run an AEDesc is created with any asked-for data.
  21. Previously I would only return strings which didn't make sense if you asked
  22. for a PICT for instance. Now the data is in an AEDesc and you can do the
  23. right thing with it. Calling cleanup on the applescript instance will
  24. dispose of the aedesc. See the method called show-result-as-string to see
  25. how to do the coercion to a printable string. Thanks to Nathan Wilson at
  26. Apple for this.
  27. 5. There is a patch called high-level-event-patch which overcomes some
  28. problems when trying to call some scripting additions (thanks again to
  29. Nathan).
  30.  
  31. Installing:
  32.  
  33. 1. After unstuffing, copy the 3 files in the folder called INTERFACES to
  34. your LIBRARY;INTERFACES;. Call REINDEX-INTERFACES after you copy these
  35. files.
  36.  
  37. 2. The file AESTUFF needs to be somewhere that REQUIRE will find it.
  38.  
  39. 3. The file applescript-editor need not be loaded unless you want a little
  40. editing window for your scripts. AppleScript.lisp (not the interface file
  41. by the same name!) contains all the goodies.
  42.  
  43.  
  44. Obtain from:
  45. ftp:://cambridge.apple.com/pub/mcl/contrib/applescript-9_94.sea.hqx
  46.  
  47.  
  48. Hope this code is useful.
  49.  
  50.  
  51.          Tom
  52.  
  53. _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
  54.               Tom Bonura
  55. Apple Computer, Inc.   Advanced Technology Group,
  56.         Interactive Media Lab
  57.     Intelligent Systems Program
  58. MS 301-3S, 1 Infinite Loop, Cupertino, CA 95104
  59. Phone: (408)974-4538  Fax: (408)974-8414
  60.  
  61. _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
  62.  
  63.  
  64.  
  65.